package com.zx.springcloud.service;

import com.zx.springcloud.entity.Payment;

/**
 * @author ZX
 * @date 2021/3/2
 */
public interface PaymentService
{


    /**
     * 插入
     * @param payment
     * @return
     */
    int  insert(Payment payment);

    /**
     * 查询
     * @param id
     * @return Payment实体
     */
    Payment getPaymentById(Long id);

}
